﻿using System;
using System.Runtime.Serialization;

namespace HHMMS.WorkFlow.Model
{
	/// <summary>
	/// 工作流活动实体。
	/// </summary>
	public class WorkflowActivity
	{
		/// <summary>
		/// 活动ID
		/// </summary>
		public int? ActivityId{ get; set;}

		/// <summary>
		/// 所属流程ID
		/// </summary>
		public int? WorkflowId{ get; set;}

		/// <summary>
		/// 活动名称
		/// </summary>
		public string ActivityName{ get; set;}

		/// <summary>
		/// 参与者类型
		/// </summary>
		public int? ParticipantType{ get; set;}

		/// <summary>
		/// 参与者值
		/// </summary>
		public string ParticipantValue{ get; set;}

		/// <summary>
		/// 选择项
		/// </summary>
		public string Options{ get; set;}

		/// <summary>
		/// 选择项对应的活动
		/// </summary>
		public string OptionActivityId{ get; set;}

		/// <summary>
		/// 是否开始环节
		/// </summary>
		public bool? IsStart{ get; set;}

		/// <summary>
		/// 是否结束环节
		/// </summary>
		public bool? IsEnd{ get; set;}

	}
}